	<table cellspacing="4" cellpadding="4" width="100%" class="infotable" id="uchome-edit-album" >
		<tr>
			<th width="100">&nbsp;</th>
			<td>
				选择相册: <select name="view_albumid" onchange="picView(this.value)">
					<option value="none">选择一个相册</option>
					<option value="0">默认相册</option>
					<!--$for{value:albums}-->
					<option value="${value['albumid']}">${value['albumname']}</option>
					<!--$end-->
				</select> (点击图片可以插入到内容中)
				<div id="albumpic_body"></div>
			</td>
		</tr>
	</table>
	<script type="text/javascript">
	function insertImage(image) {
	    var imgTitle = '';
	    var imgWidth = 0;
	    var imgHeight = 0;
	    var imgBorder = 0;
	    var id = parent.document.getElementById('currentEditorId').value;
		parent.KE.plugin["image"].insert(id,image,imgTitle,imgWidth,imgHeight,imgBorder);
	}
  //选择图片
  function picView(albumid) {
    if(albumid == 'none') {
      jQuery('#albumpic_body').innerHTML = '';
    } else {
    	jQuery.ajax({
        url:'${request.contextPath}/do.html?ac=ajax&op=album&id='+albumid+'&ajaxdiv=albumpic_body&inajax=1', 
        cache:false,
        success:function(html){
        	jQuery('#albumpic_body').append(html);
        }
      });
    }
  }
  </script>